<style>
a{
	font-size:16px;
   font-weight:bold;
}
a:link{
	color:#F9C;
	text-decoration:underline;
}
a:visited{
	color:#063;
	text-decoration:none;
}
a:active{
	color:cornflowerblue;
	text-decoration:none;
}
</style>




<?php
header("content-type:text/html;charset=utf-8");
session_start();
if($_SESSION['admin']!=""){
?>
<nav>
<table width="98%" border="2" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
  <tr>
    <td height="138"><div align="center"><a href="video_manager.php">商品管理</a></div></td>
  </tr>
  
  <tr>
    <td height="138"><div align="center"><a href="user_manager.php">会员管理</a></div></td>
  </tr>
  <tr>
  <td height="138"><div align="center"><a href="admin_manager.php">管理员管理</a></div></td>
  <?php
  $sql="select * from tb_manager where type='super' and name='".$_SESSION['admin']."'";
  $result=mysqli_query($link,$sql);
  if(mysqli_num_rows($result)>0){
	  
  ?>
    <?php
    }
  ?>
  </tr>
</table>
<?php
}
?>
